package com.boco.pciv.mapper.project;

import com.boco.pciv.core.mapper.PcivBaseMapper;
import com.boco.pciv.entity.project.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 项目基本信息
 * 
 * @author pciv
 * @email pciv@boco.com.cn
 * @date 2020-08-03 14:15:33
 */
@Mapper
public interface IProjectMapper extends PcivBaseMapper<ProjectInfo,Integer> {
    List<ProjectInfo> getSelectByProject( Map<String, Object> map);
    List<ProjectInfo> getSelectByProjecttype();
    List<ProjectInfo> getSelectByProjectstatus();
    User getDept(User id);
//    void deleteProject(Map<String, Object> map);
    void insertRecord(ProjectInfo info);
    List<banzuinfo> banzulist(Map<String, Object> map);
    void banzuinsert(banzuinfo info);
    int getBZID(String name);
    void deleteBzps_res(int id);
    void bzps_resInsert(Map<String, Integer> map);
    List<String> getBzps_res(String id);
    banzuinfo getBanzuProject(Map<String, Object> map);
    void editbanzu(banzuinfo map);
    void deletebanzu(Map<String, Object> map);
    void banzuSend(banzuinfo info);
    List<banzuinfo> banzusendlist(Map<String, Object> map);
    void deletebanzusend(Map<String, Object> map);
    banzuinfo sendinfo(Map<String, Object> map);
    void upsendstatus(banzuinfo info);
    String pro_com_name(Map<String, Object> map);
    void addPerson(PersonInfo info);
    void personEdit(PersonInfo info);
    void deletePerson(Map<String, Object> map);
    List<PersonInfo> personlist(Map<String, Object> map);
    PersonInfo personInfo(Map<String, Object> map);
    List<PersonInfo> getperson(Map<String, Object> map);
    void addPersonPay(PersonPay info);
}
